package architect.design.patterns.structural.decorator;

/**
 * 工具
 *
 * @author guanxin
 * @date 2018/5/5 15:59
 */

public class Util {

    public static void printProductDetails(BakeryComponent bakeryComponent) {
        String out = "Item: " + bakeryComponent.getName() + ", " + "Price: " + bakeryComponent.getPrice();
        System.out.println(out);
    }
}
